﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProjectFootball.MVC.Models.EntityFramework.Entities
{
    [Table("User")]
    public class UserProfile
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int UserId { get; set; }

        [DataType(DataType.EmailAddress)]
        [StringLength(100)]
        public string UserName { get; set; }

        [StringLength(50)]
        public string Forenames { get; set; }

        [StringLength(50)]
        public string Surname { get; set; }
    }
}
